package com.windoent.yugioh.bean;

import java.util.List;

/**
 * author : robert
 * date   : 2021/7/8 17:03
 * desc   :
 */
public class RuiShiLunListData {
    /**
     * code : 200
     * data : {"againstResultSwiss":[{"avatar":"","nickname":"","score":4,"tiebreaker":"4156999","rank":1},{"avatar":"","nickname":"","score":4,"tiebreaker":"4187876","rank":2},{"avatar":"","nickname":"","score":4,"tiebreaker":"4178675","rank":3},{"avatar":"","nickname":"w","score":3,"tiebreaker":"3120567","rank":4},{"avatar":"https://thirdwx.qlogo.cn/mmopen/vi_32/2mMhyEbKBJCjhPDNtXY0usB7NQ3eP2gCEaibPe5iaM6ib4vlfPib8Z7XwqiclOO63iaxOyuenj1EJrWqCnu9hJR3KMkQ/132","nickname":"苗振振","score":4,"tiebreaker":"4198564","rank":5},{"avatar":"","nickname":"","score":3,"tiebreaker":"3134543","rank":6},{"avatar":"","nickname":"acdaswa","score":2,"tiebreaker":"2156478","rank":7},{"avatar":"","nickname":"","score":9,"tiebreaker":"9145367","rank":8},{"avatar":"","nickname":"","score":3,"tiebreaker":"3112345","rank":9}],"currentUser":{"avatar":"","nickname":"acdaswa","score":2,"tiebreaker":"2156478","rank":7},"filter":[{"title":"瑞士轮第 1 轮 ","statusId":4,"rounds":1},{"title":"瑞士轮第 2 轮 ","statusId":4,"rounds":2},{"title":"瑞士轮第 3 轮 ","statusId":4,"rounds":3}],"selectFilter":{"rounds":3,"title":"瑞士轮第3轮"}}
     * msg : 成功
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * againstResultSwiss : [{"avatar":"","nickname":"","score":4,"tiebreaker":"4156999","rank":1},{"avatar":"","nickname":"","score":4,"tiebreaker":"4187876","rank":2},{"avatar":"","nickname":"","score":4,"tiebreaker":"4178675","rank":3},{"avatar":"","nickname":"w","score":3,"tiebreaker":"3120567","rank":4},{"avatar":"https://thirdwx.qlogo.cn/mmopen/vi_32/2mMhyEbKBJCjhPDNtXY0usB7NQ3eP2gCEaibPe5iaM6ib4vlfPib8Z7XwqiclOO63iaxOyuenj1EJrWqCnu9hJR3KMkQ/132","nickname":"苗振振","score":4,"tiebreaker":"4198564","rank":5},{"avatar":"","nickname":"","score":3,"tiebreaker":"3134543","rank":6},{"avatar":"","nickname":"acdaswa","score":2,"tiebreaker":"2156478","rank":7},{"avatar":"","nickname":"","score":9,"tiebreaker":"9145367","rank":8},{"avatar":"","nickname":"","score":3,"tiebreaker":"3112345","rank":9}]
         * currentUser : {"avatar":"","nickname":"acdaswa","score":2,"tiebreaker":"2156478","rank":7}
         * filter : [{"title":"瑞士轮第 1 轮 ","statusId":4,"rounds":1},{"title":"瑞士轮第 2 轮 ","statusId":4,"rounds":2},{"title":"瑞士轮第 3 轮 ","statusId":4,"rounds":3}]
         * selectFilter : {"rounds":3,"title":"瑞士轮第3轮"}
         */

        private CurrentUserBean currentUser;
        private SelectFilterBean selectFilter;
        private List<CurrentUserBean> againstResultSwiss;
        private List<FilterBean> filter;

        public CurrentUserBean getCurrentUser() {
            return currentUser;
        }

        public void setCurrentUser(CurrentUserBean currentUser) {
            this.currentUser = currentUser;
        }

        public SelectFilterBean getSelectFilter() {
            return selectFilter;
        }

        public void setSelectFilter(SelectFilterBean selectFilter) {
            this.selectFilter = selectFilter;
        }

        public List<CurrentUserBean> getAgainstResultSwiss() {
            return againstResultSwiss;
        }

        public void setAgainstResultSwiss(List<CurrentUserBean> againstResultSwiss) {
            this.againstResultSwiss = againstResultSwiss;
        }

        public List<FilterBean> getFilter() {
            return filter;
        }

        public void setFilter(List<FilterBean> filter) {
            this.filter = filter;
        }

        public static class CurrentUserBean {
            /**
             * avatar :
             * nickname : acdaswa
             * score : 2
             * tiebreaker : 2156478
             * rank : 7
             */

            private String avatar;
            private String nickname;
            private int score;
            private String tiebreaker;
            private int rank;

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public int getScore() {
                return score;
            }

            public void setScore(int score) {
                this.score = score;
            }

            public String getTiebreaker() {
                return tiebreaker;
            }

            public void setTiebreaker(String tiebreaker) {
                this.tiebreaker = tiebreaker;
            }

            public int getRank() {
                return rank;
            }

            public void setRank(int rank) {
                this.rank = rank;
            }
        }

        public static class SelectFilterBean {
            /**
             * rounds : 3
             * title : 瑞士轮第3轮
             */

            private int rounds;
            private String title;

            public int getRounds() {
                return rounds;
            }

            public void setRounds(int rounds) {
                this.rounds = rounds;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }

        public static class FilterBean {
            /**
             * title : 瑞士轮第 1 轮
             * statusId : 4
             * rounds : 1
             */

            private String title;
            private int statusId;
            private int rounds;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public int getStatusId() {
                return statusId;
            }

            public void setStatusId(int statusId) {
                this.statusId = statusId;
            }

            public int getRounds() {
                return rounds;
            }

            public void setRounds(int rounds) {
                this.rounds = rounds;
            }
        }
    }
}
